import sympy
import numpy as np
from sympy.abc import x,y,z,f
from sympy import *
f = x**4-2*(x**3)+5*sin(x)+ln(3)
print(diff(f,x))